package com.ocm.tourism.core.dao;

import java.util.List;

import com.ocm.tourism.core.domain.Comment;

public interface CommentDao extends GenericDao<Comment> {
   
   List<Comment> getAttractionComments(String attractionType, int firstResult, int sizeNo);

   List<Comment> getCommentsByCatalogue(long catalogueId, int firstResult, int sizeNo);

   List<Comment> getCommentsByTour(long tourId, int firstResult, int sizeNo);

   List<Comment> getCommentsByTourSale(long tourSaleId, int firstResult, int sizeNo);

   List<Comment> getCommentsByBusiness(long businessId, int firstResult, int sizeNo);

   long count(String attractionType);

   long countByCatalogue(long catalogueId);

   long countByBusiness(long businessId);

   long countByTour(long tourId);

   long countByTourSale(long tourSaleId);

}
